
using System;
using System.Configuration;
using System.Data;

namespace eMarketing
{
    /// -----------------------------------------------------------------------------
    ///<summary>
    /// The Info class for the eMarketing
    /// </summary>
    /// <remarks>
    /// </remarks>
    /// <history>
    /// </history>
    /// -----------------------------------------------------------------------------
    public class tm_user_groupsInfo
    {
        #region "Private Members"
        int _groupId;
        string _groupType;
        string _groupCode;
        string _description;
        int _userId;
        DateTime _createOn;
        string _status;
        int _sendToBuyer;
        int _sendToSeller;
        int _sendToVendor;
        #endregion

        #region "Constructors"
        public tm_user_groupsInfo()
        {
        }

        public tm_user_groupsInfo(int groupId, string groupType, string groupCode, string description, int userId, DateTime createOn, string status, int sendToBuyer, int sendToSeller, int sendToVendor)
        {
            this.groupId = groupId;
            this.groupType = groupType;
            this.groupCode = groupCode;
            this.description = description;
            this.userId = userId;
            this.createOn = createOn;
            this.status = status;
            this.sendToBuyer = sendToBuyer;
            this.sendToSeller = sendToSeller;
            this.sendToVendor = sendToVendor;
        }
        #endregion

        #region "Public Properties"
        public int groupId
        {
            get { return _groupId; }
            set { _groupId = value; }
        }

        public string groupType
        {
            get { return _groupType; }
            set { _groupType = value; }
        }

        public string groupCode
        {
            get { return _groupCode; }
            set { _groupCode = value; }
        }

        public string description
        {
            get { return _description; }
            set { _description = value; }
        }

        public int userId
        {
            get { return _userId; }
            set { _userId = value; }
        }

        public DateTime createOn
        {
            get { return _createOn; }
            set { _createOn = value; }
        }

        public string status
        {
            get { return _status; }
            set { _status = value; }
        }

        public int sendToBuyer
        {
            get { return _sendToBuyer; }
            set { _sendToBuyer = value; }
        }

        public int sendToSeller
        {
            get { return _sendToSeller; }
            set { _sendToSeller = value; }
        }

        public int sendToVendor
        {
            get { return _sendToVendor; }
            set { _sendToVendor = value; }
        }
        #endregion
    }

    public class tm_group_syscodesInfo
    {
        #region "Private Members"
        int _id;
        int _groupId;
        int _syscodeId;
        #endregion

        #region "Constructors"
        public tm_group_syscodesInfo()
        {
        }

        public tm_group_syscodesInfo(int id, int groupId, int syscodeId)
        {
            this.id = id;
            this.groupId = groupId;
            this.syscodeId = syscodeId;
        }
        #endregion

        #region "Public Properties"
        public int id
        {
            get { return _id; }
            set { _id = value; }
        }

        public int groupId
        {
            get { return _groupId; }
            set { _groupId = value; }
        }

        public int syscodeId
        {
            get { return _syscodeId; }
            set { _syscodeId = value; }
        }
        #endregion
    }
}
